<div id="HistoryView">
    <h2 class="tab-cont-h2">
     	<a href="javascript:;">企业中心</a> > <a href="javascript:;">公告管理</a> > <span>历史公告</span>
    </h2>
    <div class="nav-search">
        <div class="col col1 ">
            <label class="nav-label">发布时间</label>
            <div class="inputbg">
                <input type="text" class="input start datepicker" id="release_time1"> --
                <input type="text" class="input end datepicker" id="release_time1">
            </div>
        </div>
        <a href="javascript:;" class="btn btn-primary" id="J_query">查询</a>
        <a href="javascript:;" class="btn btn-primary" id="J_publish">发布</a>
    </div>
    <!-- <div class="tab-cont-tip">
        <a href="">系统通知（2）</a>
    </div> -->
    <div id="history_con">
        <!-- <table class="table table-hover table-responsive">
            <tr class="thead">
                <td class="td1">消息类型</td>
                <td class="td2">发件人</td>
                <td class="td3">标题</td>
                <td class="td4">时间</td>
                <td class="td5">操作</td>
            </tr>
            <tr class="trh7">
                <td class=""></td>
                <td class=""></td>
                <td class=""></td>
                <td class=""></td>
                <td class=""></td>
            </tr>
            <tr class="tbody tbody1">
                <td class="td1">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody tbody2">
                <td class="td1">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="td1">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
            <tr class="tbody">
                <td class="">
                    <input type="checkbox" class="input-mt2" name="" />系统消息</td>
                <td class="">系统</td>
                <td class="td3">企运宝庆元旦迎新年大活动~</td>
                <td class="">2015-10-20 17:20:52</td>
                <td class="td4"><a href="javascript:;">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;">删除</a></td>
            </tr>
        </table>
        <div class="select-all">
            <label>
                <input type="checkbox" class="input-all" name="">全选</label><a href="" class="delete-all">批量删除</a>
        </div> -->
    </div>
    <nav class="page-nav">
        <ul class="pagination" id="history-page"></ul>
    </nav>
    <!-- 发布窗口 -->
    <!--废标弹框-->
    <div class="modal fade model publishModel" id="publishModel" role="dialog">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="">发布公告</h4>
                </div>
                <div class="modal-body additem additem-store">
                    <div class="modal-store-cont modalStorecont">
                        <form class="modal-store-form">
                            <div class="form-group">
                                <label for="recipient-name" class="control-label" style="text-align:right;">公告标题：</label>
                                <input type="text" class="input" id="publishTitle" name="publishTitle">
                            </div>
                            <div class="form-group">
                                <label for="message-text" class="control-label" style="vertical-align: top;text-align:right;">公告内容：</label>
                                <textarea placeholder="请控制在500字内..." class="form-control textarea" id="publishTitle" name="publishTitle"></textarea>
                            </div>
                            <div class="modal-footer">
                                <input type="submit" class="btn sure" id="ffremarkSubmit" value="发布"></input>
                                <button type="button" class="btn cancel" data-dismiss="modal">取 消</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="bootstrap-datetimepicker.js" charset="UTF-8"></script>
<script type="text/javascript" src="bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript" src="jqPaginator.js" charset="UTF-8"></script>
<script type="text/javascript" src="history.js"></script>
<script id="HistoryTpl" type="text/template">
    <table class="table table-hover table-responsive">
        <tr class="thead">
            <td class="td1">消息类型</td>
            <td class="td2">发件人</td>
            <td class="td3">标题</td>
            <td class="td4">时间</td>
            <td class="td5">操作</td>
        </tr>
        <tr class="trh7">
            <td colspan="5">&nbsp;</td>
        </tr>
        <%_.each(obj,function(item,i){%>
            <tr class="tbody tbody<%=(i%2 == 0) ? 1: 2%>">
                <td class="td1">
                    <input type="checkbox" class="input-mt2" name="" />
                </td>
                <td class="">
                    <%=item.operator%>
                </td>
                <td class="td3">
                    <%=item.title%>
                </td>
                <td class="">
                    <%=item.release_time.replace('T',' ').replace('Z','')%>
                </td>
                <td class="td4"><a href="javascript:;" class="jLook" data-id="<%=item.notice_id%>">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>
            </tr>
            <%})%>
    </table>
    <div class="select-all none">
        <label>
            <input type="checkbox" class="input-all" name="">全选</label><a href="" class="delete-all">批量删除</a>
    </div>
</script>
<script id="issueTpl" type="text/template">
    <div id="issueTmp">
        <div class="issue-mask" id="issueMask"></div>
        <div class="issue-notice">
            <div class="top">公告查看<a href="javascript:;" class="close" id="noticeClose">X</a></div>
            <div class="mid">
                <div class="group">
                    <label class="slabel">公告标题：</label>
                    <input type="text" class="input" id="noticeTitle" value="<%=title%>">
                </div>
                <div class="group">
                    <label class="slabel">公告内容：</label>
                    <textarea class="textarea" id="noticeCon">
                        <%=content%>
                    </textarea>
                </div>
            </div>
        </div>
    </div>
</script>
